<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*-----------------------------------------------------------------------------------------------
get product group
-----------------------------------------------------------------------------------------------*/
class Get_images_block extends Front_Controller{

	function Getimages_block(){
        parent::Front_Controller();
	}
	
	function index(){
		$CI = &get_instance();		
		// sql
		//$CI->load->module_model('blocks.product_categories_model');
		$q = $CI->db->get(IMAGE);
		$images = $q->result();			
		$this->add('images', $images);
        $this->view(get_class($this));
	}
}